<?php
/*------------------------------------------------------------------------
# com_company - company management 
# @author    pipapai.com
-------------------------------------------------------------------------*/
defined('_JEXEC') or die;

// disable core styles to avoid bs conflict 
OC_Util::$core_styles = array();

if(isDevMode()) {
   OCP\Util::addStyle('company', 'company');
   OCP\Util::addScript('company', 'lostpassword');
} else {
   OCP\Util::addStyle('static', 'company');
   OCP\Util::addScript('static', 'apps/company.lostpassword.min');
}


?>
<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('company/js', 'company.php'));?>"></script>
<div class="mainpanel">
<div class='userdata'>
<form action="<?php echo OC_Helper::linkToRoute("company_sendpassreset"); ?>" id="lostPassForm" name="lostPassForm" method="post">

   <div class="row-fluid oneconn_margin">
      <div class="span2 visible-desktop">&nbsp;</div>
      <div class="span8 oneconn_box">
         <div class="lgrg_title clearfix"><span class="pull-left">忘记密码</span><span class="pull-right"><em class="redstar">*</em><span class="medium">表示必须填写</span></span></div>
         
         <div class="lgrg_form">
         
            <div class="row-fluid" id='t1'>
               <div class="span12">
                  <div class="form-horizontal">
                     <div class="control-group">
                        <label class="control-label key"><span class="required">*</span>电子邮箱</label>
                        <div class="controls">
                           <input type="text" class="input-xlarge email required" name="checkemail" id="checkemail"/>
                           <span for="checkemail" class="help-inline error" style="display:none">请输入正确的邮件地址</span>
                        </div>
                     </div>
                     <?php if(!isDevMode()): ?>
                     <div class="control-group">
                        <label class="control-label key"><span class="required">*</span>安全码</label>
                        <div class="controls">
                           <input type="text" class="input-medium required" placeholder="请填写下图中字符" id="captcha_code" name="captcha_code" maxlength="6" autocomplete="off"/>
                           <span class="help-inline medium notpasschecked" for="captcha_code"></span>
                        </div>
                     </div>
                     <div class="control-group">
                        <div class="controls">
                           <img id="captcha" style="width:164px;display:none;" class="captchaimg" src="/images/blank.png" alt="请输入图中数字和字符"/><span class="help-inline medium"><a href="#" id="captcha_reload" title="如果安全码不清楚，点击一下更新">换一换</a></span>
                        </div>
                     </div> 
                     <?php endif;?>                  
                     <div class="control-group">
                        <div class="controls">
                           <button type="submit"  id="sendnewuspass" class="btn btn-info">&nbsp;&nbsp;发送&nbsp;&nbsp;</button>
					            <input type="button" style="display:none" id="loginagain" value="重新登录" />
                        </div>
                     </div>
                     <div class="control-group">
                        <div class="controls">
                           <div id="regmsg" class="error" style="margin:10px 0 10px 0; padding:5px; display:block"></div>
                        </div>
                     </div>
                  </div>
               </div>
            </div> 
            
            <div class="forget_tips medium">如果您忘记了密码，请输入您的注册邮件地址和安全码，点击发送按钮，您将收到一份密码重置邮件。请您按照邮件中的步骤说明设置新密码。</div>
                                 
         </div>
      </div>
      <div class="span2 visible-desktop">&nbsp;</div>
   </div>
   <input type="hidden" name="requesttoken" value="<?php echo $_['requesttoken'] ?>" id="requesttoken">
</form>
</div>
</div>
